package com.ming.dao;



import com.ming.pojo.Waybill;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Xu,
 * @data 2021/3/19，
 * @time 13:40
 */
@Mapper
@Repository
public interface WaybillMapper {
    public int addWaybill(Waybill waybill);

    public int deleteWaybill(int wid);

    public int updateWaybill(Waybill waybill);

    public Waybill queryWaybillById(int wid);

    public List<Waybill> queryWaybills();

    List<Waybill> queryWaybillBySid(int sid);

    List<Waybill> queryWaybillByCid(int cid);

    List<Waybill> queryWaybillByRid(int rid);

    Integer getMId();
}
